package com.isdepci.project.gasEmission.mapper;

import java.util.List;
import com.isdepci.project.gasEmission.domain.BusinessTravel;
import org.apache.ibatis.annotations.Param;
/**
 * 差旅Mapper接口
 * 
 * @author isdepci
 * @date 2023-09-01
 */
public interface BusinessTravelMapper 
{
    /**
     * 查询差旅
     */
     BusinessTravel selectBusinessTravelById(Long id);

    /**
     * 查询差旅列表
     */
     List<BusinessTravel> selectBusinessTravelList(BusinessTravel businessTravel);

    /**
     * 新增差旅
     */
     int insertBusinessTravel(BusinessTravel businessTravel);

    /**
     * 修改差旅
     */
     int updateBusinessTravel(BusinessTravel businessTravel);

    /**
     * 删除差旅
     */
     int deleteBusinessTravelById(Long id);

    /**
     * 批量删除差旅
     */
     int deleteBusinessTravelByIds(Long[] ids);


    void insertList(@Param("list") List<BusinessTravel> list,@Param("pId")Long pId);



}
